package com.example.demo.service;

import com.example.demo.entity.Instorage;
import com.example.demo.service.helper.StorageInventory;

import java.util.List;

public interface InstorageService {

    int createInstorage(Instorage instorage);

    int deleteInstorage(Integer iid);

    Instorage findInstorageById(Integer iid);

    List<Instorage> findAllInstorages();

    List<Instorage> findInstoragesByStorageId(Integer sid);

    List<Instorage> findInstoragesByCarNum(String carNum);

    StorageInventory getStorageInventory(Integer sid);

    void updateRealWeight(Integer iid, double irweight);

    double getRealWeight(Integer iid);
}
